import request from '@/utils/request'

// 查询生活照审核列表
export function listTechnicianLifePhotoAudit(query) {
  return request({
    url: '/technicianLifePhotoAudit/technicianLifePhotoAudit/list',
    method: 'get',
    params: query
  })
}

// 查询生活照审核详细
export function getTechnicianLifePhotoAudit(id) {
  return request({
    url: '/technicianLifePhotoAudit/technicianLifePhotoAudit/' + id,
    method: 'get'
  })
}

// 新增生活照审核
export function addTechnicianLifePhotoAudit(data) {
  return request({
    url: '/technicianLifePhotoAudit/technicianLifePhotoAudit',
    method: 'post',
    data: data
  })
}

// 修改生活照审核
export function updateTechnicianLifePhotoAudit(data) {
  return request({
    url: '/technicianLifePhotoAudit/technicianLifePhotoAudit',
    method: 'put',
    data: data
  })
}

// 删除生活照审核
export function delTechnicianLifePhotoAudit(id) {
  return request({
    url: '/technicianLifePhotoAudit/technicianLifePhotoAudit/' + id,
    method: 'delete'
  })
}
